/* eslint-disable indent */
'use strict'

module.exports = {
    MemberInfo: {
        id: { type: 'string', required: true, description: '会员ID', example: '5464sd65f46d3rsdfsf' },
        openid: { type: 'string', required: false, description: '微信openid', example: 'o123456789012345678901234567890' },
        unionid: { type: 'string', required: false, description: '微信unionid', example: 'o123456789012345678901234567890' },
        phone: { type: 'string', required: false, description: '手机号', example: '13800138000' },
        nickname: { type: 'string', required: false, description: '昵称', example: '张三' },
        avatar: { type: 'string', required: false, description: '头像', example: 'http://www.baidu.com/avatar.jpg' },
        sex: { type: 'number', required: false, description: '性别', example: 1 },
        birthday: { type: 'string', required: false, description: '生日', example: '2020-01-01' },
        register_time: { type: 'string', required: false, description: '注册时间', example: '2020-01-01 00:00:00' },
        last_login_time: { type: 'string', required: false, description: '最后登录时间', example: '2020-01-01 00:00:00' },
        level_name: { type: 'string', required: false, description: '会员等级名称', example: '黄金会员' },
        subscrible: { type: 'number', required: false, description: '是否关注公众号', example: 1 },
        subscribe_time: { type: 'string', required: false, description: '关注公众号时间', example: '2020-01-01 00:00:00' },
        pid: { type: 'number', required: true, description: '门店ID', example: 15421 },
        card_id: { type: 'string', required: false, description: '会员卡ID', example: '4098a09d90e909a9e990f00c99e9' },
        balance: { type: 'number', required: false, description: '余额', example: 100 },
        recharge_amount: { type: 'number', required: false, description: '累计充值金额', example: 100 },
        consume_time: { type: 'number', required: false, description: '累计消费时长', example: 100 },
        week_count: { type: 'number', required: false, description: '周消费次数', example: 100 },
        status: { type: 'number', required: false, description: '状态', example: 1 }
    }
}
